 // 3.右括号右侧是汉字，或者非字符内容 说明缺少运算符，报错
 function validatorBracketsRight(con) {
  // const reg2 = /ime/g;
  // const reg2 = /(?<=t)ime/g
  // let str = 'time and mime';
  // reg2.test(str);

  // const reg = /(?<=\)|）)([\u4e00-\u9fa5]+)/g
  console.log('4', con)
  const reg = /\)([\u4e00-\u9fa5]+|\w+)/g
  let resObj = {
    hasErr: false,
    errCon: ''
  }
  con.replace(reg, ($0, $1, $2) => {
    console.log('44441', $0, $1, $2);
    resObj = {
      hasErr: true,
      errCon: $0.slice(1)
    }
  })
  return resObj
}
